Changes made to the batch environment by a batch are visible to all subsequent batches 所有后續的批處理可以看到通過批處理對批處理環境所作的更改。
Therefore changes made to the batch environment by a batch were visible to all subsequent batches 因此,由批處理對批處理環境所做的更改對所有后續批處理都可見。
In sql server 2000 and earlier , all the batches that execute under the same connection share the same batch environment 在sql server 2000以及更低版本中,在相同連接下執行的所有批處理將共享相同的批處理環境。
If both batches are submitted concurrently under the connection , they start execution with the settings of the connection s default batch environment 如果兩個批處理在連接下并發提交,它們將使用連接的默認批處理環境設置開始執行。